package com.itlong.cloud.commons.service.impl;

import com.itlong.cloud.POJO.PO.DeviceCloudControllerInfoPO;
import com.itlong.cloud.commons.dao.IDeviceCloudControllerInfoDao;
import com.itlong.cloud.commons.service.IDeviceCloudControllerInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <desc>
 *      云群控器业务接口实现类
 * </desc>
 *
 * @createDate 2019/04/25
 */
@Service
public class DeviceCloudControllerInfoServiceImpl implements IDeviceCloudControllerInfoService{
    @Autowired
    IDeviceCloudControllerInfoDao iDeviceCloudControllerInfoDao;

    /**
     * <desc>
     *      更新群控器的iot信息
     * </desc>
     *
     * @param deviceCloudControllerInfoPO
     * @return
     * @author Jiaqi.X
     * @createDate 2019/04/25
     */
    @Override
    public Integer updateIotInfoByDeviceUnique(DeviceCloudControllerInfoPO deviceCloudControllerInfoPO) {
        return iDeviceCloudControllerInfoDao.updateIotInfoByDeviceUnique(deviceCloudControllerInfoPO);
    }
}
